.detail-and-record {
  // background-color: white;
  // background-image: url("@/assets/jifen/detail-bg.png");
  // background-repeat: no-repeat;
  // background-size: cover;
  background: linear-gradient(#ffcf41, #ffcf41 55%, #f4f4f4 55.1%, #f4f4f4);
  &__wrapped {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  &__header {
    padding-top: 10px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    &-count {
      display: flex;
      align-items: center;
      gap: 10px;
      .icon {
        width: 70px;
        height: 82px;
      }
      .count {
        font-weight: bold;
        font-size: 56px;
        color: #000000;
        line-height: 80px;
      }
      .label {
        font-weight: 400;
        font-size: 24px;
        color: #000000;
        line-height: 34px;
      }
    }
    &-tip {
      font-weight: 400;
      font-size: 24px;
      color: #8b8b8b;
      line-height: 34px;
    }
  }
  &__chart {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    &-wrapped {
      padding: 20px;
      box-sizing: border-box;
      width: 100%;
      background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.72) 100%
      );
      border-radius: 20px;
      &_label {
        text-align: center;
        font-weight: 400;
        font-size: 24px;
        color: #000000;
        line-height: 34px;
      }
      .line-canvas {
        width: 100%;
        height: 300px;
      }
    }
  }
  &__content {
    width: 100%;
    flex: 1;
    height: 0;
    padding: 0 24px;
    box-sizing: border-box;
    &-panel {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      // box-shadow: 0 0 40px 0 rgba(233, 233, 233, 0.1),
      //   0 0 40px 0 rgba(125, 125, 125, 0.1);
      .panel-tabs {
        width: 100%;
        height: 150px;
        display: flex;
        align-items: flex-end;
        &__item {
          flex: 1;
          height: calc(100% - 30px);
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          align-items: center;
          gap: 4px;
          padding-bottom: 60px;
          box-sizing: border-box;
          background: linear-gradient(#fff3cd, #fff);
          border-radius: 30px 30px 0 0;
          transform: all 0.3s;

          --active-font-weight: 400;

          &-label {
            position: relative;
            font-weight: var(--active-font-weight);
            font-size: 32px;
            color: #000000;
            line-height: 44px;
          }
          &-line {
            width: 32px;
            height: 8px;
            background-color: #f8bd1a;
            border-radius: 4px;
          }
          &:not(.is-active):nth-child(1) {
            border-top-right-radius: 0;
          }
          &:not(.is-active):nth-child(2) {
            border-top-left-radius: 0;
          }

          &.is-active {
            background: white;
            height: 100%;
            box-shadow: 18px 0 48px 0 rgba(125, 125, 125, 0.1);
            --active-font-weight: bold;
          }
        }
      }
      .panel-content {
        width: 100%;
        height: 0;
        flex: 1;
        background: linear-gradient(#fff, #fafafa);
        padding: 0 10px;
        box-sizing: border-box;
      }
    }
  }
}
